package com.baseframe.tool.utils.id;

public class IdUtil {

    public static IdGenerator load(IdType type){
        switch (type){
            case UUID:
                return new UUIDGenerator();
            case REDIS_ID:
                return new RedisGenerator();
            default:
                return new UUIDGenerator();
        }

    }
}
